package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * VIEW对象 workerview
 * 
 * @author ruoyi
 * @date 2024-05-13
 */
public class WorkerView extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 员工表id */
    @Excel(name = "员工表id")
    private Long id;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String name;

    /** 员工电话 */
    @Excel(name = "员工电话")
    private String tel;

    /** 员工性别 */
    @Excel(name = "员工性别")
    private String sex;

    /** 职位名称 */
    @Excel(name = "职位名称")
    private String positionName;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 考勤月份 */
    @Excel(name = "考勤月份")
    private String month;

    /** 应出勤天数 */
    @Excel(name = "应出勤天数")
    private Long workingDays;

    /** 当月出勤天数 */
    @Excel(name = "当月出勤天数")
    private Long actualAttendance;

    /** 请假备注信息 */
    @Excel(name = "请假备注信息")
    private String leaveDetails;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setPositionName(String positionName) 
    {
        this.positionName = positionName;
    }

    public String getPositionName() 
    {
        return positionName;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setMonth(String month) 
    {
        this.month = month;
    }

    public String getMonth() 
    {
        return month;
    }
    public void setWorkingDays(Long workingDays) 
    {
        this.workingDays = workingDays;
    }

    public Long getWorkingDays() 
    {
        return workingDays;
    }
    public void setActualAttendance(Long actualAttendance) 
    {
        this.actualAttendance = actualAttendance;
    }

    public Long getActualAttendance() 
    {
        return actualAttendance;
    }
    public void setLeaveDetails(String leaveDetails) 
    {
        this.leaveDetails = leaveDetails;
    }

    public String getLeaveDetails() 
    {
        return leaveDetails;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("tel", getTel())
            .append("sex", getSex())
            .append("positionName", getPositionName())
            .append("projectName", getProjectName())
            .append("month", getMonth())
            .append("workingDays", getWorkingDays())
            .append("actualAttendance", getActualAttendance())
            .append("leaveDetails", getLeaveDetails())
            .toString();
    }
}
